package cn.com.czpb.client.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by 猪猪侠 on 2017/10/30.
 */

public class WeatherBean {

    /**
     * date : 20171030
     * message : Success !
     * status : 200
     * city : 南宁
     * count : 67
     * data : {"shidu":"54%","pm25":49,"pm10":89,"quality":"良","wendu":"20","ganmao":"极少数敏感人群应减少户外活动","yesterday":{"date":"29日星期日","sunrise":"06:49","high":"高温 28.0℃","low":"低温 16.0℃","sunset":"18:11","aqi":76,"fx":"东北风","fl":"<3级","type":"晴","notice":"晴空万里，去沐浴阳光吧"},"forecast":[{"date":"30日星期一","sunrise":"06:49","high":"高温 25.0℃","low":"低温 14.0℃","sunset":"18:10","aqi":75,"fx":"东北风","fl":"<3级","type":"多云","notice":"今日多云，骑上单车去看看世界吧"},{"date":"31日星期二","sunrise":"06:50","high":"高温 26.0℃","low":"低温 15.0℃","sunset":"18:10","aqi":89,"fx":"东北风","fl":"<3级","type":"多云","notice":"今日多云，骑上单车去看看世界吧"},{"date":"01日星期三","sunrise":"06:50","high":"高温 27.0℃","low":"低温 15.0℃","sunset":"18:09","aqi":96,"fx":"东北风","fl":"<3级","type":"多云","notice":"悠悠的云里有淡淡的诗"},{"date":"02日星期四","sunrise":"06:51","high":"高温 27.0℃","low":"低温 16.0℃","sunset":"18:08","aqi":88,"fx":"东北风","fl":"<3级","type":"多云","notice":"悠悠的云里有淡淡的诗"},{"date":"03日星期五","sunrise":"06:51","high":"高温 28.0℃","low":"低温 19.0℃","sunset":"18:08","aqi":75,"fx":"东北风","fl":"<3级","type":"多云","notice":"悠悠的云里有淡淡的诗"}]}
     */

    @SerializedName("date")
    private String date;
    @SerializedName("message")
    private String message;
    @SerializedName("status")
    private int status;
    @SerializedName("city")
    private String city;
    @SerializedName("count")
    private int count;
    @SerializedName("data")
    private DataBean data;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * shidu : 54%
         * pm25 : 49
         * pm10 : 89
         * quality : 良
         * wendu : 20
         * ganmao : 极少数敏感人群应减少户外活动
         * yesterday : {"date":"29日星期日","sunrise":"06:49","high":"高温 28.0℃","low":"低温 16.0℃","sunset":"18:11","aqi":76,"fx":"东北风","fl":"<3级","type":"晴","notice":"晴空万里，去沐浴阳光吧"}
         * forecast : [{"date":"30日星期一","sunrise":"06:49","high":"高温 25.0℃","low":"低温 14.0℃","sunset":"18:10","aqi":75,"fx":"东北风","fl":"<3级","type":"多云","notice":"今日多云，骑上单车去看看世界吧"},{"date":"31日星期二","sunrise":"06:50","high":"高温 26.0℃","low":"低温 15.0℃","sunset":"18:10","aqi":89,"fx":"东北风","fl":"<3级","type":"多云","notice":"今日多云，骑上单车去看看世界吧"},{"date":"01日星期三","sunrise":"06:50","high":"高温 27.0℃","low":"低温 15.0℃","sunset":"18:09","aqi":96,"fx":"东北风","fl":"<3级","type":"多云","notice":"悠悠的云里有淡淡的诗"},{"date":"02日星期四","sunrise":"06:51","high":"高温 27.0℃","low":"低温 16.0℃","sunset":"18:08","aqi":88,"fx":"东北风","fl":"<3级","type":"多云","notice":"悠悠的云里有淡淡的诗"},{"date":"03日星期五","sunrise":"06:51","high":"高温 28.0℃","low":"低温 19.0℃","sunset":"18:08","aqi":75,"fx":"东北风","fl":"<3级","type":"多云","notice":"悠悠的云里有淡淡的诗"}]
         */

        @SerializedName("shidu")
        private String shidu;
        @SerializedName("pm25")
        private int pm25;
        @SerializedName("pm10")
        private int pm10;
        @SerializedName("quality")
        private String quality;
        @SerializedName("wendu")
        private String wendu;
        @SerializedName("ganmao")
        private String ganmao;
        @SerializedName("yesterday")
        private YesterdayBean yesterday;
        @SerializedName("forecast")
        private List<ForecastBean> forecast;

        public String getShidu() {
            return shidu;
        }

        public void setShidu(String shidu) {
            this.shidu = shidu;
        }

        public int getPm25() {
            return pm25;
        }

        public void setPm25(int pm25) {
            this.pm25 = pm25;
        }

        public int getPm10() {
            return pm10;
        }

        public void setPm10(int pm10) {
            this.pm10 = pm10;
        }

        public String getQuality() {
            return quality;
        }

        public void setQuality(String quality) {
            this.quality = quality;
        }

        public String getWendu() {
            return wendu;
        }

        public void setWendu(String wendu) {
            this.wendu = wendu;
        }

        public String getGanmao() {
            return ganmao;
        }

        public void setGanmao(String ganmao) {
            this.ganmao = ganmao;
        }

        public YesterdayBean getYesterday() {
            return yesterday;
        }

        public void setYesterday(YesterdayBean yesterday) {
            this.yesterday = yesterday;
        }

        public List<ForecastBean> getForecast() {
            return forecast;
        }

        public void setForecast(List<ForecastBean> forecast) {
            this.forecast = forecast;
        }

        public static class YesterdayBean {
            /**
             * date : 29日星期日
             * sunrise : 06:49
             * high : 高温 28.0℃
             * low : 低温 16.0℃
             * sunset : 18:11
             * aqi : 76
             * fx : 东北风
             * fl : <3级
             * type : 晴
             * notice : 晴空万里，去沐浴阳光吧
             */

            @SerializedName("date")
            private String date;
            @SerializedName("sunrise")
            private String sunrise;
            @SerializedName("high")
            private String high;
            @SerializedName("low")
            private String low;
            @SerializedName("sunset")
            private String sunset;
            @SerializedName("aqi")
            private int aqi;
            @SerializedName("fx")
            private String fx;
            @SerializedName("fl")
            private String fl;
            @SerializedName("type")
            private String type;
            @SerializedName("notice")
            private String notice;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getSunrise() {
                return sunrise;
            }

            public void setSunrise(String sunrise) {
                this.sunrise = sunrise;
            }

            public String getHigh() {
                return high;
            }

            public void setHigh(String high) {
                this.high = high;
            }

            public String getLow() {
                return low;
            }

            public void setLow(String low) {
                this.low = low;
            }

            public String getSunset() {
                return sunset;
            }

            public void setSunset(String sunset) {
                this.sunset = sunset;
            }

            public int getAqi() {
                return aqi;
            }

            public void setAqi(int aqi) {
                this.aqi = aqi;
            }

            public String getFx() {
                return fx;
            }

            public void setFx(String fx) {
                this.fx = fx;
            }

            public String getFl() {
                return fl;
            }

            public void setFl(String fl) {
                this.fl = fl;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getNotice() {
                return notice;
            }

            public void setNotice(String notice) {
                this.notice = notice;
            }
        }

        public static class ForecastBean {
            /**
             * date : 30日星期一
             * sunrise : 06:49
             * high : 高温 25.0℃
             * low : 低温 14.0℃
             * sunset : 18:10
             * aqi : 75
             * fx : 东北风
             * fl : <3级
             * type : 多云
             * notice : 今日多云，骑上单车去看看世界吧
             */

            @SerializedName("date")
            private String date;
            @SerializedName("sunrise")
            private String sunrise;
            @SerializedName("high")
            private String high;
            @SerializedName("low")
            private String low;
            @SerializedName("sunset")
            private String sunset;
            @SerializedName("aqi")
            private int aqi;
            @SerializedName("fx")
            private String fx;
            @SerializedName("fl")
            private String fl;
            @SerializedName("type")
            private String type;
            @SerializedName("notice")
            private String notice;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getSunrise() {
                return sunrise;
            }

            public void setSunrise(String sunrise) {
                this.sunrise = sunrise;
            }

            public String getHigh() {
                return high;
            }

            public void setHigh(String high) {
                this.high = high;
            }

            public String getLow() {
                return low;
            }

            public void setLow(String low) {
                this.low = low;
            }

            public String getSunset() {
                return sunset;
            }

            public void setSunset(String sunset) {
                this.sunset = sunset;
            }

            public int getAqi() {
                return aqi;
            }

            public void setAqi(int aqi) {
                this.aqi = aqi;
            }

            public String getFx() {
                return fx;
            }

            public void setFx(String fx) {
                this.fx = fx;
            }

            public String getFl() {
                return fl;
            }

            public void setFl(String fl) {
                this.fl = fl;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getNotice() {
                return notice;
            }

            public void setNotice(String notice) {
                this.notice = notice;
            }
        }
    }
}
